package com.common.dto;


import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.common.dto.base.BaseDTO;



@SuppressWarnings("serial")
@Table(name="person_info")
public class PersonInfoDTO extends BaseDTO {

	/** 关联字段*/
	@Column(name="person_code")
	private String personCode;

	/** 手机号*/
	@Column(name="phone_num")
	private String phoneNum;

	/** 邮箱*/
	private String mail;

	/** 昵称 */
	@Column(name="nick_name")
	private String nickName;

	/** 头像*/
	private String headimgurl;

	/** 真实姓名*/
	@Column(name="real_name")
	private String realName;

	/** 性別*/
	private String sex;

	/** 生日*/
	private Date birthday;

	/** 城市*/
	private String city;

	/** 省份*/
	private String province;

	/** 国家*/
	private String country;

	/** 注册时间*/
	@Column(name="register_time")
	private Date registerTime;

	//非数据库字段
	@Transient
	private String isCheckedStr;

	@Transient
	private String needDeleteStr;

	@Transient
	private String roleName;

	@Transient
	private String accountCode;

	@Transient
	private String accountPwd;

	@Transient
	private String roleCode;

	@Transient
	private List<String> ids;
	
	public List<String> getIds() {
		return ids;
	}

	public void setIds(List<String> ids) {
		this.ids = ids;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getAccountPwd() {
		return accountPwd;
	}

	public void setAccountPwd(String accountPwd) {
		this.accountPwd = accountPwd;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getAccountCode() {
		return accountCode;
	}

	public void setAccountCode(String accountCode) {
		this.accountCode = accountCode;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPersonCode() {
		return personCode;
	}

	public void setPersonCode(String personCode) {
		this.personCode = personCode;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public String getIsCheckedStr() {
		return isCheckedStr;
	}

	public void setIsCheckedStr(String isCheckedStr) {
		this.isCheckedStr = isCheckedStr;
	}

	public String getNeedDeleteStr() {
		return needDeleteStr;
	}

	public void setNeedDeleteStr(String needDeleteStr) {
		this.needDeleteStr = needDeleteStr;
	}

	public String getHeadimgurl() {
		return headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}
	
}
